package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class NewActorBean implements Serializable, IJsonParser{

	/** "actor": {
                "avatar_url": "http://imgs.ykdllmyr.com/groups/2014/10/10/UXXxSBAB2DFdViLHL57JmM.png",
                "display_name": "阿拉彬",
                "actor_id": 195
            },
	 * 
	 */
	private static final long serialVersionUID = 4387283630935090829L;
	private String avatar_url ;
	private String display_name ;
	private String actor_id ;
	public String getAvatar_url() {
		return avatar_url;
	}
	public String getDisplay_name() {
		return display_name;
	}
	public String getActor_id() {
		return actor_id;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, NewActorBean.class);
		}
		return null;
	}

}
